package belleza.relativa

import belleza.relativa.security.User

/**
 * Created with IntelliJ IDEA.
 * User: Leandro
 * Date: 11/24/12
 * Time: 7:03 PM
 * To change this template use File | Settings | File Templates.
 */
class Solicitud {
    static constraints = {
        solicitante(nullable: false, unique: ['solicitado'])
    }
    def static belongsTo = [solicitante: Persona, solicitado: Persona]

    Date fecha
    Boolean vista
    Boolean aceptada
}
